<?php 


	if(!isset($_SESSION['username'])){
		echo "<script>alert('请登录！');window.location.href='index.php?m=admin&c=manage'</script>";die;
	}
	
	
	//权限管理
	authonity($con);

	

	


	//权限角色列表
	$permission = dbselect($con,'permission');

	assign('permission',$permission);



	
	
	$i = 1;
	assign('i',$i);
?>